<!DOCTYPE html>
<html>
  <head>
    <title>test file upload</title>
    <meta charset="utf-8"/>
  </head>
  <body>
    <label id="abc">select file</label>
    <script src="../../../define.js"></script>
    <script>
      NEJ.define([
          '../select.js',
          'util/ajax/xdr'
      ],function(_x,_j){
          
          _x._$bind('abc',{
              name:'img',
              multiple:true,
              onchange:function(_event){
                  _event.form.action = './upload';
                  _j._$upload(_event.form,{
                      onload:function(){

                      }
                  });
              }
          });
      });
    </script>
  </body>
</html>